-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide feedback when using deprecated %d specifiers in RUNPATH #4474
Provide feedback when using deprecated %d specifiers in RUNPATH #4474
Conversation
c6905b9
to
cdb1085
Compare
2e43282
to
541d7db
Compare
498a5ca
to
5471f1c
Compare
58be1eb
to
f31883d
Compare
Codecov Report
@@ Coverage Diff @@
## main #4474 +/- ##
==========================================
+ Coverage 59.65% 59.67% +0.02%
==========================================
Files 444 444
Lines 31326 31313 -13
Branches 3076 3076
==========================================
- Hits 18686 18685 -1
+ Misses 11866 11854 -12
Partials 774 774
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
8252c6b
to
51bcde8
Compare
86e5c77
to
2cb7f99
Compare
elif not any(x in runpath_format_string for x in ["<ITER>, <IENS>"]): | ||
self.runpath_format_string = runpath_format_string | ||
logger.error( | ||
"RUNPATH keyword shall use syntax " f"`{self.DEFAULT_RUNPATH}`." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe should
instead instead of shall
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing.
And added new issue for suggester ui.
#4543
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had one comment regarding the wording of a warning.
Currently, this shows "suggestions" via logger.warn. However, for some of these messages it would be great if we could show them in the suggester gui. Perhaps we should spawn a new issue for that?
2cb7f99
to
acb6346
Compare
Remove iteration_count property Remove obsoleted test Add LibresFacade testing valid runpaths Added logger feedback on deprecated syntax for runpath Update documentation for RUNPATH Replace jobname specifiers with <ITER> and <IENS>
Before load results manually would check whether runpath was valid, however that just checked for the precense of %d. Since results can be loaded regardless of %d, this button is now always enabled.
acb6346
to
e2dd788
Compare
Issue
Resolves #4432
Resolves #4443
Updated docs
Updated deprecated syntax for RUNPATH in ert-files, tests and examples
Pre review checklist
Adding labels helps the maintainers when writing release notes. This is the list of release note labels.